mergHKAddQuantitySample
Type
command
Summary
Add a quantity sample
Syntax
mergHKAddQuantitySample <pIdentifier>, <pStartDate>, <pEndDate>, <pValue>, <pUnits>, [<pWorkoutUUID>], [<pMetadata>]
Description
Add a quantity sample
Parameters
Name | Type | Description |
---|---|---|
pIdentifier | A type identifier as documented here. | |
pStartDate | A start date in seconds | |
pEndDate | An end date in seconds | |
pValue | The quantity value | |
pUnits | A string representation of the units the value is in. The strings to use are documented here | |
pWorkoutUUID | (optional with "" default) A UUID for a specific workout. If specified the sample will be added to the workout. | |
pMetadata | (optional with An default) An array of metadata in using HeathKit keys or custom keys. | |
https | //developer.apple.com/library/ios/documentation/HealthKit/Reference/HealthKit_Constants/index.html#//apple_ref/doc/constant_group/Metadata_Keys |
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile